package org.example.StudentManagementSystem.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
@Schema(description = "用户信息数据传输对象")
public class UserDTO {
    @Schema(description = "用户唯一标识ID", required = true)
    private int id;

    @Schema(description = "用户名", required = true)
    private String username;

    @Schema(description = "用户昵称")
    private String nickname;

    @Schema(description = "用户性别，0代表未知，1代表男，2代表女", required = true)
    private int gender;

    @Schema(description = "用户手机号码")
    private String phone;

    @Schema(description = "用户电子邮件地址")
    private String email;

    @Schema(description = "用户头像URL")
    private String avatar;
}
